import 'package:massagist/generated/json/base/json_convert_content.dart';
import 'package:massagist/models/web_info_model_entity.dart';

WebInfoModelEntity $WebInfoModelEntityFromJson(Map<String, dynamic> json) {
	final WebInfoModelEntity webInfoModelEntity = WebInfoModelEntity();
	final String? type = jsonConvert.convert<String>(json['type']);
	if (type != null) {
		webInfoModelEntity.type = type;
	}
	final String? url = jsonConvert.convert<String>(json['url']);
	if (url != null) {
		webInfoModelEntity.url = url;
	}
	return webInfoModelEntity;
}

Map<String, dynamic> $WebInfoModelEntityToJson(WebInfoModelEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['type'] = entity.type;
	data['url'] = entity.url;
	return data;
}